﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CoyoEden.Web.Controls;
using CoyoEden;
using CoyoEden.Models;

public partial class Pages_Vote : PortalBasePage
{
	public string VoteID { get; set; }
	protected void Page_Load(object sender, EventArgs e)
	{
		if (!Page.IsPostBack && !Page.IsCallback)
		{
			//Add js
			//Utils.AddJavaScriptInclude(Utils.RelativeWebRoot + "assets/js/mess/Topic.js", Page, true);
			VoteID = Request["id"];
			var item = Vote.GetVote(Convert.ToInt32(VoteID));
			RateList1.TheVote = item;
			Page.Title = PortalSettings.Instance.Name + "-" + "麦报擂台";
		}
	}
}
